﻿
@{
    ViewData["Title"] = "点评详情";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@model Mate.Dto.Comment.CommentModel
@section styles{
    <style type="text/css">
        .portlet-body div {
            min-height: 28px;
            line-height: 28px;
        }

        .portlet-body .name {
            text-align: right;
        }
    </style>
}

<ul class="page-breadcrumb breadcrumb">
    <li>
        <a href="@Url.Action("Index")">
            点评管理
        </a>
        <i class="fa fa-angle-right"></i>
    </li>
    <li>
        点评详情
    </li>
</ul>



<div class="row">
    <div class="col-md-12">
        <!-- BEGIN VALIDATION STATES-->
        <div class="portlet-body">
            <div class="col-xs-2 name">
                点评标题
            </div>
            <div class="col-xs-10 value">
                @Model.title
            </div>
            <div class="col-xs-2 name">
                点评内容
            </div>
            <div class="col-xs-10 value">
                @Model.content
            </div>
            <div class="col-xs-2 name">
                点评人
            </div>
            <div class="col-xs-4 value">
                @Model.username
            </div>
            <div class="col-xs-2 name">
                点评标签
            </div>
            <div class="col-xs-4 value">
                @Model.tagname
            </div>
            <div class="col-xs-2 name">
                商户|商品名称
            </div>
            <div class="col-xs-4 value">
                @Model.relatename
            </div>
            <div class="col-xs-2 name">
                总体得分
            </div>
            <div class="col-xs-4 value">
                @Model.overallscore
            </div>
            <div class="col-xs-2 name">
                口味得分
            </div>
            <div class="col-xs-4 value">
                @Model.tastescore
            </div>
            <div class="col-xs-2 name">
                环境得分
            </div>
            <div class="col-xs-4 value">
                @Model.enviromentscore
            </div>
            <div class="col-xs-2 name">
                服务得分
            </div>
            <div class="col-xs-4 value">
                @Model.servicescore
            </div>
            <div class="col-xs-2 name">
                人均消费
            </div>
            <div class="col-xs-4 value">
                @Model.percost
            </div>
            <div class="col-xs-2 name">
                是否匿名
            </div>
            <div class="col-xs-4 value">
                @(Model.is_anonymous == 1 ? "非匿名" : "匿名")
            </div>
            <div class="col-xs-2 name">
                审核进度
            </div>
            <div class="col-xs-4 value">
                @if (Model.is_audit == 1)
                {
                    <label>审核</label>
                }
                else if (Model.is_audit == 2)
                {
                    <label>审核中</label>
                }
                else if (Model.is_audit == 3)
                {
                    <label>审核不通过</label>
                }
            </div>
            <div class="col-xs-2 name">
                图片1
            </div>
            <div class="col-xs-10 value">
                <img src="@Model.img_one" style="max-height:30px;" />
            </div>
            <div class="col-xs-2 name">
                图片2
            </div>
            <div class="col-xs-10 value">
                <img src="@Model.img_two" style="max-height:30px;" />
            </div>
            <div class="col-xs-2 name">
                图片3
            </div>
            <div class="col-xs-10 value">
                <img src="@Model.img_three" style="max-height:30px;" />
            </div>
            <div class="col-xs-2 name">
                图片4
            </div>
            <div class="col-xs-10 value">
                <img src="@Model.img_four" style="max-height:30px;" />
            </div>
            <div class="col-xs-2 name">
                图片5
            </div>
            <div class="col-xs-10 value">
                <img src="@Model.img_five" style="max-height:30px;" />
            </div>

        </div>
    </div>
</div>

